<%@page contentType="text/html; charset=UTF-8" %>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>用户注册</title>
</head>

<body>
<h2 align="center">注 册</h2>
<hr/>
<form method="POST" action="register">
    <table align="center">
        <tr>
            <td>
                <label for="user">普通用户</label>
                <input type="radio" name="field" id="user" value="user">
                <label for="admin">管理员</label>
                <input type="radio" name="field" id="admin" value="admin"><br>
            </td>
        </tr>
        <tr>
            <td><label for="username">用户名:</label></td>
            <td><input type="text" name="username" id="username"/></td>
        </tr>
        <tr>
            <td><label for="password">密码:</label></td>
            <td><input type="password" name="password" id="password"/></td>
        </tr>
        <tr>
            <td><label for="userid">ID:</label></td>
            <td><input type="text" name="userid" id="userid"/></td>
        </tr>
        <tr>
            <td><input type="submit" value="注 册"/></td>
        </tr>
    </table>
</form>
</body>

</html>
